package com.pb.infra.oth.entity.excel;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * excel通用类
 *
 * @author liudebao
 * @date 2020/1/9
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EasySheetEntity<T> {
    /**
     * sheet名
     */
    private String sheetName;

    /**
     * 标题
     */
    private String[][] head;

    /**
     * 列
     */
    private String[] column;

    /**
     * 数据
     */
    private List<T> data;
}
